<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>养老照料中心和社区养老服务驿站-社区养老服务-助餐服务</title>
    <link href="<%=basePath%>css/style.css" rel="stylesheet" type="text/css"/>
    <script src="<%=basePath%>js/jquery.js" type="text/javascript"></script>
    <script src="<%=basePath%>js/cloud.js" type="text/javascript"></script>
</head>

<script language="JavaScript">
        let realname="<%=session.getAttribute("realname")%>";
        let r1="<%=session.getAttribute("place")%>";
        let demo1= ${sessionScope.realname};
        let demo2= ${sessionScope.address_place}
        console.log(realname);
        console.log(r1);
        console.log(demo1);
        console.log(demo2);
        console.log(${sessionScope.user.realname})
</script>

<body>
<form action="<%=basePath%>service/order.do" method="post">
    <table class="shangpin">

        <tr>
            <td class="td1">服务名称</td>
            <td class="td2">:</td>
            <td class="td3">助餐服务</td>

        </tr>


        <tr>
            <td class="td1">服务内容</td>
            <td class="td2">:</td>
            <td class="td3">在满足收住人员就餐需求的基础上，为服务半径内有助餐需求的老年人提供堂食。</td>

        </tr>

        <tr>
            <td class="td1">服务价格</td>
            <td class="td2">:</td>
            <td class="td3"> </td>

        </tr>

        <tr>
            <td class="td1">选择时段就餐</td>
            <td class="td2">:</td>
            <td class="td3"><select id="s_time" name="s_time" style="font-size: 24px">
                <option value="早餐">早 餐</option>
                <option value="午餐">午 餐</option>
                <option value="晚餐">晚 餐</option>
            </select></td>
        </tr>

        <tr>
            <td class="td1">服务起始日期</td>
            <td class="td2">:</td>
            <td class="td3"><input type="date" id="s_day" name="s_day" value="2021-05-02" style="font-size: 24px"/></td>
        </tr>

        <tr>
            <td class="td1">服务结束日期</td>
            <td class="td2">:</td>
            <td class="td3"><input type="date"  value="2021-05-03" style="font-size: 24px"/></td>
        </tr>

        <tr>
            <td class="td1">请选择服务机构</td>
            <td class="td2">:</td>
            <td class="td3">
                <select id="s_place"  name="s_place" style="font-size: 26px">
                <option value="养老照料中心">养老照料中心</option>
                <option value="社区养老服务驿站">社区养老服务驿站</option>
            </select>
            </td>
        </tr>


        <tr>
<%--            <td><input type="hidden" id="realname" name="realname" value="${sessionScope.user.realname}"/></td>--%>
<%--          <td><input type="hidden" id="s_address" name="s_address" value=${sessionScope.place}/></td>--%>
            <td><input type="hidden" id="s_type" name="s_type" value="助餐服务"/></td>
            <td><input type="hidden" id="s_class" name="s_class" value="社区养老服务"/></td>
        </tr>


        <tr>
            <td class="td4">
                <input type="submit" class="button" value="提交订单"/>
            </td>
        </tr>

    </table>
</form>
</body>
</html>


